package com.hl.card.credit.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 管理员表
 * </p>
 *
 * @author huangpu
 * @since 2018-05-04
 */
public class User implements Serializable{

    private static final long serialVersionUID = 1L;
    /**
     * 主键id
     */
	private Integer id;
    /**
     * 头像
     */
	private String avatar;
	 /**
     * 会员0合伙人1
     */
	private String ismember;
    /**
     * 账号
     */
	private String account;
    /**
     * 密码
     */
	private String password;
    /**
     * md5密码盐
     */
	private String salt;
    /**
     * 名字
     */
	private String name;
    /**
     * 生日
     */
	private Date birthday;
    /**
     * 性别（1：男 2：女）
     */
	private Integer sex;
    /**
     * 电子邮件
     */
	private String email;
    /**
     * 电话
     */
	private String phone;
    /**
     * 角色id
     */
	private String roleid;
    /**
     * 部门id
     */
	private Integer deptid;
    /**
     * 状态(1：启用  2：冻结  3：删除）
     */
	private Integer status;
    /**
     * 创建时间
     */
	private Date createtime;
    /**
     * 保留字段
     */
	private Integer version;
    /**
     * 分销商key
     */
	private String secret;
    /**
     * 上级key
     */
	private String superaccount;
    /**
     * 全路径
     */
	private String fullindex;
    /**
     * 等级
     */
	private String level;
	  /**
     * 用户id
     */

	private String userId;
	 /**
     * 用户支付密码
     */

	private String userPayPassword;
	/**
	 * 自身注册码
	 */
	private String reg_code;

	/**
	 * 上级注册码
	 */
	private String refer_reg_code;

	private String img;
	

	private String iscommunityUser;  //是否是社区管理员 0否1是
	
	   //是否认证  0否1是
	private Integer isauth;

	private String detailinfo;  //身份证详细信息
	public Integer getIsauth() {
		return isauth;
	}

	public void setIsauth(Integer isauth) {
		this.isauth = isauth;
	}

	public String getDetailinfo() {
		return detailinfo;
	}

	public void setDetailinfo(String detailinfo) {
		this.detailinfo = detailinfo;
	}

	public String getIscommunityUser() {
		return iscommunityUser;
	}

	public void setIscommunityUser(String iscommunityUser) {
		this.iscommunityUser = iscommunityUser;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserPayPassword() {
		return userPayPassword;
	}

	public void setUserPayPassword(String userPayPassword) {
		this.userPayPassword = userPayPassword;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getRoleid() {
		return roleid;
	}

	public void setRoleid(String roleid) {
		this.roleid = roleid;
	}

	public Integer getDeptid() {
		return deptid;
	}

	public void setDeptid(Integer deptid) {
		this.deptid = deptid;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public String getSecret() {
		return secret;
	}

	public void setSecret(String secret) {
		this.secret = secret;
	}

	public String getSuperaccount() {
		return superaccount;
	}

	public void setSuperaccount(String superaccount) {
		this.superaccount = superaccount;
	}

	public String getIsmember() {
		return ismember;
	}

	public void setIsmember(String ismember) {
		this.ismember = ismember;
	}

	public String getFullindex() {
		return fullindex;
	}

	public void setFullindex(String fullindex) {
		this.fullindex = fullindex;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}


	public String getReg_code() {
		return reg_code;
	}

	public void setReg_code(String reg_code) {
		this.reg_code = reg_code;
	}

	public String getRefer_reg_code() {
		return refer_reg_code;
	}

	public void setRefer_reg_code(String refer_reg_code) {
		this.refer_reg_code = refer_reg_code;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	@Override
	public String toString() {
		return "User{" +
			"id=" + id +
			", avatar=" + avatar +
			", account=" + account +
			", password=" + password +
			", salt=" + salt +
			", name=" + name +
			", birthday=" + birthday +
			", sex=" + sex +
			", email=" + email +
			", userId=" + userId +
			", phone=" + phone +
			", roleid=" + roleid +
			", deptid=" + deptid +
			", userPayPassword=" + userPayPassword +
			", status=" + status +
			", createtime=" + createtime +
			", version=" + version +
			", ismember=" + ismember +
			", secret=" + secret +
			", superaccount=" + superaccount +
			", fullindex=" + fullindex +
			", level=" + level +
			"}";
	}
}
